<script setup lang="ts">
import zwTabBar from "@/components/zw-tabbar/zw-tabbar.vue";
import {ref} from "vue";
const tabBarIdx = ref(0)

const clickTab = (idx) => {
  tabBarIdx.value = idx;
  console.log(idx)
}
</script>

<template>
  <uni-nav-bar statusBar title="发现" />

发现

  <zwTabBar :defaultSel="1" @clickTab="clickTab" :bigIdx="2"></zwTabBar>

</template>

<style scoped lang="scss">

</style>
